package com.secsys.dto;

import java.util.Date;
public class StoRationedsharesDTO implements java.io.Serializable {
	private static final long serialVersionUID = 6430334640093162640L;
	private Integer id;
	private Date allotDate;
	private Short type;
	private Double ratio;


	public StoRationedsharesDTO() {
		super();
	}

	public StoRationedsharesDTO(Integer id, Date allotDate, Short type,
			Double ratio) {
		super();
		this.id = id;
		this.allotDate = allotDate;
		this.type = type;
		this.ratio = ratio;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 除息日期
	 * @return
	 */
	public Date getAllotDate() {
		return this.allotDate;
	}
	/**
	 * 除息日期
	 * @return
	 */
	public void setAllotDate(Date allotDate) {
		this.allotDate = allotDate;
	}
	/**
	 * 类型：配股、送股、转
	 * @return
	 */
	public Short getType() {
		return this.type;
	}
	/**
	 * 类型：配股、送股、转
	 * @return
	 */
	public void setType(Short type) {
		this.type = type;
	}
	/**
	 * 比率：Ratio的比例是指，十送了多少的多少，比如十送三，则ratio是3
	 * @return
	 */
	public Double getRatio() {
		return this.ratio;
	}
	/**
	 * 比率：Ratio的比例是指，十送了多少的多少，比如十送三，则ratio是3
	 * @return
	 */
	public void setRatio(Double ratio) {
		this.ratio = ratio;
	}

}